<template>
  <div class="list">
    御剑乘风来,除魔天地间!==list
    <hr />
    这里是插槽： <slot name="qq"></slot>

    <hr />
    <ul>
      <li v-for="item in data" :key="item.id">
        <p>
          id:{{ item.id }}====姓名：{{ item.name }}===
          <slot :row="item"></slot>
        </p>
      </li>
    </ul>
  </div>
</template>
<script>
export default {
  name: '',
  props: ['data'],
  data () {
    return {}
  },
  created () {},
  computed: {},
  methods: {}
}
</script>
<style lang='less'  scoped>
.list {
  background-color: pink;
}
</style>
